#ifndef SMART_CAR_H
#define SMART_CAR_H

#include "tire.h"
#include "agx.h"
#include "battery_module.h"
#include "binocular_camera.h"
#include "chassis.h"
#include "gyroscope_9axis.h"
#include "lcd_isplay_screen.h"
#include "multi_line_lidar.h"

#include <iostream>
using namespace std;
#include <string.h>
#include<fstream>

// 智能小车信息
class Smart_car
{
public:
    void setID(string _id);
    void print ();
    void save (string path);

    void setChassis(Chassis _chassis);
    void setAgx(Agx _agx);
    void setBinocular_camera(Binocular_camera _binocular_camera);
    void setMulti_line_lidar(Multi_line_lidar _multi_line_lidar);
    void setGyroscope_9axis(Gyroscope_9axis _gyroscope_9axis);
    void setLcd_isplay_screen(Lcd_isplay_screen _lcd_isplay_screen);
    void seBattery_module(Battery_module _battery_module);

private:
    string id;
    Chassis chassis;
    Agx agx;
    Binocular_camera binocular_camera;
    Multi_line_lidar multi_line_lidar;
    Gyroscope_9axis gyroscope_9axis;
    Lcd_isplay_screen lcd_isplay_screen;
    Battery_module battery_module;
};

#endif // SMART_CAR_H
